package com.silverbox.shopper.entity;

import java.io.Serializable;
import java.util.Date;

/**
box_gratuity_record
 */
public class GratuityRecord implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = -3922775831231920600L;

	/**
     */
    private Long id;

    /**
     * 打赏人id
     */
    private Integer userId;

    /**
     * 被打赏服务员id
     */
    private Integer employeeId;

    /**
     * 店铺ID
     */
    private Integer shopperId;

    /**
     * 店铺名称
     */
    private String shopperName;

    /**
     * 商家ID
     */
    private Integer shopperPid;

    /**
     * 打赏时间
     */
    private Date createTime;

    /**
     * 打赏金额
     */
    private Double awardAmount;

    /**
     * 来源   1：二维码 2：扫码下单
     */
    private Integer source;

    /**
     * 支付方式 1:支付宝 21:微信
     */
    private Integer payModel;

    /**
     * 交易流水号
     */
    private String tradeNo;

    /**
     * 顾客评价
     */
    private String marks;

    /**
     * 顾客评价等级
     */
    private Integer marksLevel;

    /**
     * 支付状态,0:未支付,1:已支付    
     */
    private Integer payStatus;

    /**
     * 订单号
     */
    private String orderNum;

    /**
     * 支付金额
     */
    private Double totalPay;

    /**
     * 第三方优惠金额
     */
    private Double thirdPromotionFee;

    /**
     * 打赏记录类型(0:现金提现;1:自动转账支付宝)
     */
    private Integer rewardType;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Integer employeeId) {
        this.employeeId = employeeId;
    }

    public Integer getShopperId() {
        return shopperId;
    }

    public void setShopperId(Integer shopperId) {
        this.shopperId = shopperId;
    }

    public String getShopperName() {
        return shopperName;
    }

    public void setShopperName(String shopperName) {
        this.shopperName = shopperName == null ? null : shopperName.trim();
    }

    public Integer getShopperPid() {
        return shopperPid;
    }

    public void setShopperPid(Integer shopperPid) {
        this.shopperPid = shopperPid;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Double getAwardAmount() {
        return awardAmount;
    }

    public void setAwardAmount(Double awardAmount) {
        this.awardAmount = awardAmount;
    }

    public Integer getSource() {
        return source;
    }

    public void setSource(Integer source) {
        this.source = source;
    }

    public Integer getPayModel() {
        return payModel;
    }

    public void setPayModel(Integer payModel) {
        this.payModel = payModel;
    }

    public String getTradeNo() {
        return tradeNo;
    }

    public void setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo == null ? null : tradeNo.trim();
    }

    public String getMarks() {
        return marks;
    }

    public void setMarks(String marks) {
        this.marks = marks == null ? null : marks.trim();
    }

    public Integer getMarksLevel() {
        return marksLevel;
    }

    public void setMarksLevel(Integer marksLevel) {
        this.marksLevel = marksLevel;
    }

    public Integer getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(Integer payStatus) {
        this.payStatus = payStatus;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum == null ? null : orderNum.trim();
    }

    public Double getTotalPay() {
        return totalPay;
    }

    public void setTotalPay(Double totalPay) {
        this.totalPay = totalPay;
    }

    public Double getThirdPromotionFee() {
        return thirdPromotionFee;
    }

    public void setThirdPromotionFee(Double thirdPromotionFee) {
        this.thirdPromotionFee = thirdPromotionFee;
    }

    public Integer getRewardType() {
        return rewardType;
    }

    public void setRewardType(Integer rewardType) {
        this.rewardType = rewardType;
    }
}